<?php


namespace App\Services\Strategy;


class Page
{
    public $strategy;

    /**
     * 进行查找方法
     */
<<<<<<< HEAD
=======
<<<<<<< HEAD
=======
<<<<<<< HEAD
=======
<<<<<<< HEAD
>>>>>>> ad3f2ce75fb6a6518d685720d3e13e7eb6b3b462
>>>>>>> 5b8878cf77da32ab9fb02103e80d26f0a43187e4
    public function index($id)
    {

       return $this->strategy->scrollImgShow($id);
<<<<<<< HEAD
=======
<<<<<<< HEAD
=======
=======
>>>>>>> 75818497ef9bb23fd6bd1547c9e88686d864b7ad
    public function index($district_id)
    {

       return $this->strategy->scrollImgShow($district_id);
<<<<<<< HEAD
=======
>>>>>>> ba16dd1753d15808db3b29ea7d71d2dcbc440fff
>>>>>>> ad3f2ce75fb6a6518d685720d3e13e7eb6b3b462
>>>>>>> 5b8878cf77da32ab9fb02103e80d26f0a43187e4
>>>>>>> 75818497ef9bb23fd6bd1547c9e88686d864b7ad
    }

    /**
     * @param ScrollImgStrategy $strategy
     * 去找到传过来的对象
     */
    public function setStrategy(ScrollImgStrategy $strategy)
    {
        $this->strategy = $strategy;
    }
}